home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / DOCS / HARDWARE / HARDWARE.TXT
Encoding:
Text File  |  1997-02-06  |  105.2 KB  |  1,468 lines

  1.              .---------------------------------------------------.
  2.              |Atari ST/STe/MSTe/TT/F030 Hardware Register Listing|
  3.              `---------------------------------------------------'
  4.                         <<< EXCLUSIVE ST-NEWS VERSION >>>
  5.  
  6.                       Version 7.0 (FINAL REVISION) - 1/22/94
  7.                                   By Dan Hollis
  8.                  Copyright (C) 1993/1994 MicroImages Software
  9.  
  10. ##############################################################################
  11. ########## THIS IS THE LAST VERSION OF THE LISTING TO BE DISTRIBUTED #########
  12. ##############################################################################
  13. Due to the absence of feedback, combined with the lack of free time, I will no
  14. longer be updating this listing. This is the FINAL revision.
  15. ------------------------------------------------------------------------------
  16. This document may only be copied unmodified, in its entirety. This document
  17. may ONLY be copied freely, and may NOT be sold. I make no guarantees as to the
  18. accuracy of this document. I cannot be responsible for the use or misuse of
  19. information contained within this document. Use at your own risk! Regardless,
  20. every effort has been taken to ensure this document is as complete and
  21. accurate as possible.
  22. ------------------------------------------------------------------------------
  23.  
  24. Many thanks to the following people for their contributions!
  25.  
  26. Markus Gutschke, Alexander Herzlinger, Karsten Isakovic, Thomas Binder,
  27. Julian Reschke, Georges Kesseler, Torbjoern Ose, Rickard Troedsson,
  28. Martin Griffiths, Eric Prevoteau
  29.  
  30.  
  31. Any comments or questions can be sent to me at the following addresses:
  32.  
  33. Internet : goemon@venice.mps.ohio-state.edu
  34. MCI Mail : 679-5560
  35. Snail : Dan Hollis
  36.         744 NW Kinney
  37.         Grants Pass, OR 97526
  38.         U.S.A.
  39.  
  40. Address Description                                                      Space
  41. -------+----------------------------------------------------------------+-----
  42. ########CPU Reset Vectors                                               ######
  43. -------+----------------------------------------------------------------+-----
  44. $000000|Reset : Initial SSP                                             |SP
  45. $000004|Reset : Initial PC                                              |SP
  46. -------+----------------------------------------------------------------+-----
  47. ########CPU Exception Vectors                                           ######
  48. -------+----------------------------------------------------------------+-----
  49. $000008|Bus Error                                                       |SD
  50. $00000C|Address Error                                                   |SD
  51. $000010|Illegal Instruction                                             |SD
  52. $000014|Zero Divide                                                     |SD
  53. $000018|CHK, CHK2 Instruction                                           |SD
  54. $00001C|cpTRAPcc, TRAPcc, TRAPV                                         |SD
  55. $000020|Privilege Violation                                             |SD
  56. $000024|Trace                                                           |SD
  57. $000028|Line 1010 Emulator (LineA)                                      |SD
  58. $00002C|Line 1111 Emulator (LineF)                                      |SD
  59. $000030|(Unassigned, Reserved)                                          |SD
  60. $000034|Coprocessor Protocol Violation (68030)                          |SD
  61. $000038|Format Error (68010)                                            |SD
  62. $00003C|Uninitialized Interrupt Vector                                  |SD
  63. $000040|(Unassigned, Reserved)                                          |SD
  64.    :   |   :             :                                              | :
  65. $00005F|(Unassigned, Reserved)                                          |SD
  66. $000060|Spurious Interrupt (Bus error during interrupt)                 |SD                                          
  67. -------+----------------------------------------------------------------+-----
  68. ########Auto-Vector Interrupts                                          ######
  69. -------+----------------------------------------------------------------+-----
  70. $000064|Level 1 Int Autovector (TT VME)                                 |SD
  71. $000068|Level 2 Int Autovector (HBL)                                    |SD
  72. $00006C|Level 3 Int Autovector (TT VME)                                 |SD
  73. $000070|Level 4 Int Autovector (VBL)                                    |SD
  74. $000074|Level 5 Int Autovector                                          |SD
  75. $000078|Level 6 Int Autovector (MFP)                                    |SD
  76. $00007C|Level 7 Int Autovector                                          |SD
  77. -------+----------------------------------------------------------------+-----
  78. ########Trap Instruction Vectors (Trap #n = Vector number + 32 + n)     ######
  79. -------+----------------------------------------------------------------+-----
  80. $000080|Trap #0                                                         |SD
  81. $000084|Trap #1 (GemDOS)                                                |SD
  82. $000088|Trap #2 (AES/VDI)                                               |SD
  83. $00008C|Trap #3                                                         |SD
  84. $000090|Trap #4                                                         |SD
  85. $000094|Trap #5                                                         |SD
  86. $000098|Trap #6                                                         |SD
  87. $00009C|Trap #7                                                         |SD
  88. $0000A0|Trap #8                                                         |SD
  89. $0000A4|Trap #9                                                         |SD
  90. $0000A8|Trap #10                                                        |SD
  91. $0000AC|Trap #11                                                        |SD
  92. $0000B0|Trap #12                                                        |
  93. $0000B4|Trap #13 (BIOS)                                                 |SD
  94. $0000B8|Trap #14 (XBIOS)                                                |SD
  95. -------+----------------------------------------------------------------+-----
  96. ########Math Coprocessor Vectors (68881/68882/Internal)                 ######
  97. -------+----------------------------------------------------------------+-----
  98. $0000C0|FFCP Branch or Set on Unordered Condition                       |SD
  99. $0000C4|FFCP Inexact Result                                             |SD
  100. $0000C8|FFCP Divide by Zero                                             |SD
  101. $0000CC|FFCP Underflow                                                  |SD
  102. $0000D0|FFCP Operand Error                                              |SD
  103. $0000D4|FFCP Overflow                                                   |SD
  104. $0000D8|FFCP Signaling NAN                                              |SD
  105. $0000DC|(Unassigned, Reserved)                                          |SD
  106. -------+----------------------------------------------------------------+-----
  107. ########PMMU Coprocessor Vectors (68851/Internal)                       ######
  108. -------+----------------------------------------------------------------+-----
  109. $0000E0|MMU Configuration Error                                         |SD
  110. $0000E4|MC68851, not used by MC68030                                    |SD
  111. $0000E8|MC68851, not used by MC68030                                    |SD
  112. -------+----------------------------------------------------------------+-----
  113. ########Miscellaneous Vectors                                           ######
  114. -------+----------------------------------------------------------------+-----
  115. $0000EC|(Unassigned, Reserved)                                          |SD
  116.    :   |   :             :                                              | :
  117. $0000FF|(Unassigned, Reserved)                                          |SD
  118. -------+----------------------------------------------------------------+-----
  119. ########User Assigned Interrupt Vectors                                 ######
  120. -------+----------------------------------------------------------------+-----
  121. $000100|ST-MFP-0 - Centronics busy                                      |SD
  122. $000104|ST-MFP-1 - RS-232 DCD                                           |SD
  123. $000108|ST-MFP-2 - RS-232 CTS                                           |SD
  124. $00010C|ST-MFP-3 - Blitter done                                         |SD
  125. $000110|ST-MFP-4 - Timer D (USART timer)                                |SD
  126. $000114|ST-MFP-5 - Timer C (200hz Clock)                                |SD
  127. $000118|ST-MFP-6 - Keyboard/MIDI (ACIA)                                 |SD
  128. $00011C|ST-MFP-7 - FDC/HDC                                              |SD
  129. $000120|ST-MFP-8 - Timer B (HBL)                                        |SD
  130. $000124|ST-MFP-9 - Send Error                                           |SD
  131. $000128|ST-MFP-10 - Send buffer empty                                   |SD
  132. $00012C|ST-MFP-11 - Receive error                                       |SD
  133. $000130|ST-MFP-12 - Receive buffer full                                 |SD
  134. $000134|ST-MFP-13 - Timer A (STe sound)                                 |SD
  135. $000138|ST-MFP-14 - RS-232 Ring detect                                  |SD
  136. $00013C|ST-MFP-15 - GPI7 - Monochrome Detect                            |SD
  137. $000140|TT-MFP-0 - GPI 0                                                |SD
  138. $000144|TT-MFP-1 - GPI 1                                                |SD
  139. $000148|TT-MFP-2 - SCC-DMA Controller                                   |SD
  140. $00014C|TT-MFP-3 - Ring Indicator SCC B                                 |SD
  141. $000150|TT-MFP-4 - Timer D                                              |SD
  142. $000154|TT-MFP-5 - Timer C                                              |SD
  143. $000158|TT-MFP-6 - (Reserved) GPI 4                                     |SD
  144. $00015C|TT-MFP-7 - SCSI DMA Controller                                  |SD
  145. $000160|TT-MFP-8 - Timer B                                              |SD
  146. $000164|TT-MFP-9 - Send Error                                           |SD
  147. $000168|TT-MFP-10 - Send buffer empty                                   |SD
  148. $00016C|TT-MFP-11 - Receive error                                       |SD
  149. $000170|TT-MFP-12 - Receive buffer full                                 |SD
  150. $000174|TT-MFP-13 - Timer A                                             |SD
  151. $000176|TT-MFP-14 - TT Clock (MC146818A)                                |SD
  152. $00017C|TT-MFP-15 - TT-SCSI Drive Controller NCR 5380                   |SD
  153. $000180|SCC Interrupt                                                   |SD
  154. $0001BC|SCC Interrupt                                                   |SD
  155. $0001C0|User Defined, Unused                                            |SD
  156.    :   |  :     :        :                                              | :
  157. $0003FC|User Defined, Unused                                            |SD
  158. -------+----------------------------------------------------------------+-----
  159.  
  160. Address Size  Description                                           Name
  161. -------+-----+-----------------------------------------------------+----------
  162. ##############System Crash Page                                    ###########
  163. -------+-----+-----------------------------------------------------+----------
  164. $000380|long |Validates System Crash Page if $12345678             |proc_lives
  165. $000384|.....|Saved registers D0-D7                                |proc_dregs
  166. $0003A4|.....|Saved registers A0-A7                                |proc_aregs
  167. $0003C4|long |Vector number of crash exception                     |proc_enum
  168. $0003C8|long |Saved USP                                            |proc_usp
  169. $0003CC|.....|Saved 16 words from exception stack                  |proc_stk
  170. -------+-----+-----------------------------------------------------+----------
  171. ##############System Variables                                     ###########
  172. -------+-----+-----------------------------------------------------+----------
  173. $000400|long |GEM Event timer vector                               |etv_timer
  174. $000404|long |GEM Critical error handler                           |etv_critic
  175. $000408|long |GEM Program termination vector                       |etv_term
  176. $00040C|long |GEM Additional vector #1 (Unused)                    |etv_xtra
  177.    :   |  :  | :      :        :     :    :                        |   :
  178. $00041C|long |GEM Additional vector #5 (Unused)                    |etv_xtra
  179. $000420|long |Validates memory configuration if $752019F3          |memvalid
  180. $000424|word |Copy of contents of $FF8001                          |memctrl
  181. $000426|long |Validates resvector if $31415926                     |resvalid
  182. $00042A|long |Reset vector                                         |resvector
  183. $00042E|long |Physical top of RAM                                  |phystop
  184. $000432|long |Start of TPA (user memory)                           |_membot
  185. $000436|long |End of TPA (user memory)                             |_memtop
  186. $00043A|long |Validates memcntrl and memconf if $237698AA          |memval2
  187. $00043E|word |If nonzero, floppy disk VBL routine is disabled      |flock
  188. $000440|word |Floppy Seek rate - 0:6ms, 1:12ms, 2:2ms, 3:3ms       |seekrate
  189. $000442|word |Time between two timer calls (in milliseconds)       |_timer_ms
  190. $000444|word |If not zero, verify floppy disk writes               |_fverify
  191. $000446|word |Default boot device                                  |_bootdev
  192. $000448|word |0 - NTSC (60hz), <>0 - PAL (50hz)                    |palmode
  193. $00044A|word |Default video resolution                             |defshiftmod
  194. $00044C|word |Copy of contents of $FF8260                          |sshiftmod
  195. $00044E|long |Pointer to video RAM (logical screen base)           |_v_bas_ad
  196. $000452|word |If not zero, VBL routine is not executed             |vblsem
  197. $000454|word |Number of vertical blank routines                    |nvbls
  198. $000456|long |Pointer to list of vertical blank routines           |_vblqueue
  199. $00045A|long |If not zero, points to color palette to be loaded    |colorptr
  200. $00045E|long |If not zero, points to video ram for next VBL        |screenpt
  201. $000462|long |Counter for number of VBLs                           |_vbclock
  202. $000466|long |Number of VBL routines executed                      |_frclock
  203. $00046A|long |Vector for hard disk initialization                  |hdv_init
  204. $00046E|long |Vector for resolution change                         |swv_vec
  205. $000472|long |Vector for getbpb for hard disk                      |hdv_bpb
  206. $000476|long |Vector for read/write routine for hard disk          |hdv_rw
  207. $00047A|long |Vector for hard disk boot                            |hdv_boot
  208. $00047E|long |Vector for hard disk media change                    |hdv_mediach
  209. $000482|word |If not zero, attempt to load "COMMAND.PRG" on boot   |_comload
  210. $000484|byte |Attribute vector for console output       BIT 3 2 1 0|conterm
  211.        |     |Return "kbshift" for BIOS conin --------------' | | ||
  212.        |     |System bell (1 - on) ---------------------------' | ||
  213.        |     |Key repeat (1 - on) ------------------------------' ||
  214.        |     |Key click (1 - on) ---------------------------------'|
  215. $000486|long |Return address for TRAP #14                  (unused)|trp14ret
  216. $00048A|long |Return address for critical error handler    (unused)|criticret
  217. $00048E|long |Memory descriptor block                              |themd
  218. $00049E|long |Space for additional memory descriptors              |themdmd
  219. $0004A2|long |Pointer to BIOS save registers block                 |savptr
  220. $0004A6|word |Number of connected floppy drives                    |_nflops
  221. $0004A8|long |Vector for screen output                             |con_state
  222. $0004AC|word |Temporary storage for cursor line position           |save_row
  223. $0004AE|long |Pointer to save area for exception processing        |sav_context
  224. $0004B2|long |Pointer to buffer control block for GEMDOS data      |_bufl
  225. $0004B6|long |Pointer to buffer control block for GEMDOS fat/dir   |_bufl
  226. $0004BA|long |Counter for 200hz system clock                       |_hz_200
  227. $0004BC|long |Pointer to default environment string                |the_env
  228. $0004C2|long |Bit allocation for physical drives (bit 0=A, 1=B..)  |_drvbits
  229. $0004C6|long |Pointer to 1024-byte disk buffer                     |_dskbufp
  230. $0004CA|long |Pointer to autoexecute path                          |_autopath
  231. $0004CE|long |Pointer to VBL routine #1                            |_vbl_lis
  232.    :   |  :  |  :      :  :     :     :                            |    :
  233. $0004EA|long |Pointer to VBL routine #8                            |_vbl_lis
  234. $0004EE|word |Flag for screen -> printer dump                      |_dumpflg
  235. $0004F0|word |Printer abort flag                                   |_prtabt
  236. $0004F2|long |Pointer to start of OS                               |_sysbase
  237. $0004F6|long |Global shell pointer                                 |_shell_p
  238. $0004FA|long |Pointer to end of OS                                 |end_os
  239. $0004FE|long |Pointer to entry point of OS                         |exec_os
  240. $000502|long |Pointer to screen dump routine                       |scr_dump
  241. $000506|long |Pointer to _lstostat()                               |prv_lsto
  242. $00050A|long |Pointer to _lstout()                                 |prv_lst
  243. $00050E|long |Pointer to _auxostat()                               |prv_auxo
  244. $000512|long |Pointer to _auxout()                                 |prv_aux
  245. $000516|long |If AHDI, pointer to pun_info                         |pun_ptr
  246. $00051A|long |If $5555AAAA, reset                                  |memval3
  247. $00051E|long |8 Pointers to input-status routines                  |xconstat
  248. $00053E|long |8 Pointers to input routines                         |xconin
  249. $00055E|long |8 Pointers to output-status routines                 |xcostat
  250. $00057E|long |8 Pointers to output routines                        |xconout
  251. $00059E|word |If not 0, then not 68000 - use long stack frames     |_longframe
  252. $0005A0|long |Pointer to cookie jar                                |_p_cookies
  253. $0005A4|long |Pointer to end of FastRam                            |ramtop
  254. $0005A8|long |Validates ramtop if $1357BD13                        |ramvalid
  255. $0005AC|long |Pointer to routine for system bell                   |bell_hook
  256. $0005B0|long |Pointer to routine for system keyclick               |kcl_hook
  257. -------+-----+-----------------------------------------------------+----------
  258.  
  259. Address Size  Description                                 Bits used Read/Write
  260. -------+-----+-----------------------------------------------------+----------
  261. ##############OS ROMs                                              ###########
  262. -------+-----+-----------------------------------------------------+----------
  263. $E00000|byte |TOS 512k ROMs                                        |R
  264.    :   |  :  | :   :    :                                          |:
  265. $EFFFFF|byte |TOS 512k ROMs                                        |R
  266. -------+-----+-----------------------------------------------------+----------
  267. ##############ADSPEED Configuration registers                      ###########     
  268. -------+-----+-----------------------------------------------------+----------
  269. $F00000|byte |Switch to 16 Mhz                                     |W
  270. $F10000|byte |Switch to 8 Mhz                                      |W
  271. $F20000|byte |Turn on high speed ROM option in 16 Mhz              |W
  272. $F30000|byte |Turn off high speed ROM option                       |W
  273. $F40000|byte |Unknown                                              |W
  274. $F50000|byte |Turn off cache while in 16 Mhz                       |W
  275.        |     |       >> Write 0 to an address to set it. <<        |
  276. -------+-----+-----------------------------------------------------+----------
  277. ##############IDE Controller (Falcon, ST-Book, IDE cards)          ###########
  278. -------+-----+-----------------------------------------------------+----------
  279. $F00000|long |Data Register                                        |R/W
  280. $F00005|byte |Error Register                    BIT 7 6 5 4 3 2 1 0|R
  281.        |     |Bad block mark -----------------------' | | | | | | ||
  282.        |     |Uncorrectable error --------------------' | | | | | ||
  283.        |     |Media change -----------------------------' | | | | ||
  284.        |     |ID-Field not found -------------------------' | | | ||
  285.        |     |Media change requested -----------------------' | | ||
  286.        |     |Command aborted --------------------------------' | ||
  287.        |     |Track 0 not found --------------------------------' ||
  288.        |     |DAM not found --------------------------------------'|
  289. $F00009|byte |Sector Count Register                                |W
  290. $F0000D|byte |Sector Number Register                               |W
  291. $F00011|byte |Cylinder Low Register                                |W
  292. $F00015|byte |Cylinder High Register                               |W
  293. $F00019|byte |Drive Head Register                                  |W
  294. $F0001D|byte |Status Register                                      |R
  295. $F0001D|byte |Command Register                                     |W
  296. $F00039|byte |Alternate Status Register                            |R
  297. $F00039|byte |Data Output Register                                 |W
  298. -------+-----+-----------------------------------------------------+----------
  299. ##############ST MMU Controller                                    ###########
  300. -------+-----+-----------------------------------------------------+----------
  301. $FF8001|byte |MMU memory configuration                  BIT 3 2 1 0|R/W
  302.        |     |Bank 0                                        | | | ||
  303.        |     |00 - 128k ------------------------------------+-+ | ||
  304.        |     |01 - 512k ------------------------------------+-+ | ||
  305.        |     |10 - 2m --------------------------------------+-+ | ||
  306.        |     |11 - reserved --------------------------------+-' | ||
  307.        |     |Bank 1                                            | ||
  308.        |     |00 - 128k ----------------------------------------+-+|
  309.        |     |01 - 512k ----------------------------------------+-+|
  310.        |     |10 - 2m ------------------------------------------+-+|
  311.        |     |11 - reserved ------------------------------------+-'|
  312. -------+-----+-----------------------------------------------------+----------
  313. ##############Falcon030 Processor Control                          ###########
  314. -------+-----+-----------------------------------------------------+----------
  315. $FF8007|byte |Falcon Bus Control                    BIT 5 . . 2 . 0|R/W (F030)
  316.        |     |STe Bus Emulation (0 - on) ---------------'     |   ||
  317.        |     |Blitter (0 - 8mhz, 1 - 16mhz) ------------------'   ||
  318.        |     |68030 (0 - 8mhz, 1 - 16mhz) ------------------------'|
  319. -------+-----+-----------------------------------------------------+----------
  320. ##############SHIFTER Video Controller                             ###########
  321. -------+-----+-----------------------------------------------------+----------
  322. $FF8201|byte |Video screen memory position (High byte)             |R/W
  323. $FF8203|byte |Video screen memory position (Mid byte)              |R/W
  324. $FF820D|byte |Video screen memory position (Low byte)              |R/W  (STe)
  325. $FF8205|byte |Video address pointer (High byte)                    |R
  326. $FF8207|byte |Video address pointer (Mid byte)                     |R
  327. $FF8209|byte |Video address pointer (Low byte)                     |R
  328. $FF820E|word |Offset to next line                                  |R/W (F030)
  329. $FF820F|byte |Width of a scanline (width in words-1)               |R/W  (STe)
  330. $FF8210|word |Width of a scanline (width in words)                 |R/W (F030)
  331. $FF8265|byte |Horizontal scroll register (0-15)                    |R/W  (STe)
  332. -------+-----+-----------------------------------------------------+----------
  333. $FF820A|byte |Video synchronization mode                    BIT 1 0|R/W
  334.        |     |0 - 60hz, 1 - 50hz -------------------------------+ ||
  335.        |     |0 - internal, 1 - external sync ------------------' ||      (TT)
  336.        |     |0 - internal, 1 - external sync --------------------'|     (!TT)
  337. -------+-----+-----------------------------------------------------+----------
  338.        |     |                                BIT 11111198 76543210|
  339.        |     |                                    543210           |
  340.        |     |                     ST color value .....RRr .GGr.BBb|
  341.        |     |                    STe color value ....rRRR gGGGbBBB|
  342. $FF8240|word |Video palette register 0              Lowercase = LSB|R/W
  343.     :  |  :  |  :      :       :     :                             | :
  344. $FF825E|word |Video palette register 15                            |R/W
  345. -------+-----+-----------------------------------------------------+----------
  346. $FF8260|byte |Shifter resolution                            BIT 1 0|R/W
  347.        |     |00 320x200x4 bitplanes (16 colors) ---------------+-+|
  348.        |     |01 640x200x2 bitplanes (4 colors) ----------------+-+|
  349.        |     |10 640x400x1 bitplane  (1 colors) ----------------+-'|
  350. $FF8262|word |TT Shifter resolution                   BIT 15 . . 12|R/W   (TT)
  351.        |     |Sample/Hold mode ----------------------------'      ||
  352.        |     |Hypermono mode -------------------------------------'|
  353.        |     |Video Mode                                 BIT 10 9 8|
  354.        |     |000  320x200x4 bitplanes (16 colors) -----------+-+-+|
  355.        |     |001  640x200x2 bitplanes (4 colors) ------------+-+-+|
  356.        |     |010  640x400x1 bitplane  (2 colors)(Duochrome) -+-+-+|
  357.        |     |100  640x480x4 bitplanes (16 colors) -----------+-+-+|
  358.        |     |110 1280x960x1 bitplane  (2 colors) ------------+-+-+|
  359.        |     |111  320x480x8 bitplanes (256 colors) ----------+-+-'|
  360.        |     |ST Palette Bank                           BIT 3 2 1 0|
  361. -------+-----+-----------------------------------------------------+----------
  362. $FF827E|???? |STACY Display Driver                                 |???(STACY)
  363. -------+-----+-----------------------------------------------------+----------
  364.        |     |                                BIT 11111198 76543210|
  365.        |     |                                    543210           |
  366.        |     |                     TT color value ....RRRr GGGgBBBb|
  367. $FF8400|word |TT Palette  0                         Lowercase = LSB|R/W   (TT)
  368.     :  |  :  | :    :     :                                        | :      :
  369. $FF85FE|word |TT Palette 255                                       |R/W   (TT)
  370. -------+-----+-----------------------------------------------------+----------
  371. ##############Falcon030 VIDEL Video Controller                     ###########
  372. -------+-----+-----------------------------------------------------+----------
  373. $FF8006|byte |Monitor Type                                  BIT 1 0|R   (F030)
  374.        |     |00 - Monochrome (SM124) --------------------------+-+|
  375.        |     |01 - Color (SC1224) ------------------------------+-+|
  376.        |     |10 - VGA Color -----------------------------------+-+|
  377.        |     |11 - Television ----------------------------------+-'|
  378. $FF820E|word |Offset to next line                                  |R/W (F030)
  379. $FF8210|word |VWRAP - Linewidth in words                           |R/W (F030)
  380. $FF8266|word |SPSHIFT                    BIT 10 . 8 . 6 5 4 3 2 1 0|R/W (F030)
  381.        |     |2-colour mode ------------------'   |   | | | | | | ||
  382.        |     |Truecolour mode --------------------'   | | | | | | ||
  383.        |     |Use external hsync ---------------------' | | | | | ||
  384.        |     |Use external vsync -----------------------' | | | | ||
  385.        |     |8 Bitplane mode ----------------------------' | | | ||
  386.        |     |? Bitplane mode ------------------------------' | | ||
  387.        |     |? Bitplane mode --------------------------------' | ||
  388.        |     |? Bitplane mode ----------------------------------' ||
  389.        |     |? Bitplane mode ------------------------------------'|
  390.        |     +-----------------------------------------------------+
  391.        |     |      Horizontal Control Registers             (9bit)|
  392. $FF8280|word |HHC - Horizontal Hold Counter                        |R   (F030)
  393. $FF8282|word |HHT - Horizontal Hold Timer                          |R/W (F030)
  394. $FF8284|word |HBB - Horizontal Border Begin                        |R/W (F030)
  395. $FF8286|word |HBE - Horizontal Border End                          |R/W (F030)
  396. $FF8288|word |HDB - Horizontal Display Begin                       |R/W (F030)
  397. $FF828A|word |HDE - Horizontal Display End                         |R/W (F030)
  398. $FF828C|word |HSS - Horizontal SS                                  |R/W (F030)
  399. $FF828E|word |HFS - Horizontal FS                                  |R/W (F030)
  400. $FF8290|word |HEE - Horizontal EE                                  |R/W (F030)
  401.        |     +-----------------------------------------------------+
  402.        |     |      Vertical Control Registers              (10bit)|
  403. $FF82A0|word |VFC - Vertcial Frequency Counter                     |R   (F030)
  404. $FF82A2|word |VFT - Vertical Frequency Timer                       |R/W (F030)
  405. $FF82A4|word |VBB - Vertical Border Begin      (count in 1/2 lines)|R/W (F030)
  406. $FF82A6|word |VBE - Vertical Border End        (count in 1/2 lines)|R/W (F030)
  407. $FF82A8|word |VDB - Vertical Display Begin                         |R/W (F030)
  408. $FF82AA|word |VDE - Vertical Display End                           |R/W (F030)
  409. $FF82AC|word |VSS - Vertical SS                                    |R/W (F030)
  410.        |     +-----------------------------------------------------+
  411. $FF82C0|word |??? - Video Clock (?) (Super78 puts $182 here)       |R/W (F030)
  412. $FF82C2|word |VCO - Video Control                       BIT 3 2 1 0|R/W (F030)
  413.        |     |Quarter pixel width (quadruple pixels) -------' | | ||
  414.        |     |Half pixel width (double pixels) ---------------' | ||
  415.        |     |Skip line (interlace) ----------------------------' ||
  416.        |     |Line doubling --------------------------------------'|
  417. -------+-----+-----------------------------------------------------+----------
  418. ##############DMA/WD1772 Disk controller                           ###########
  419. -------+-----+-----------------------------------------------------+----------
  420. $FF8600|     |Reserved                                             |
  421. $FF8602|     |Reserved                                             |
  422. $FF8604|word |FDC access/sector count                              |R/W
  423. $FF8606|word |DMA mode/status                             BIT 2 1 0|R
  424.        |     |Condition of FDC DATA REQUEST signal -----------' | ||
  425.        |     |0 - sector count null,1 - not null ---------------' ||
  426.        |     |0 - no error, 1 - DMA error ------------------------'|
  427. $FF8606|word |DMA mode/status                 BIT 8 7 6 . 4 3 2 1 .|W
  428.        |     |0 - read FDC/HDC,1 - write ---------' | | | | | | |  |
  429.        |     |0 - HDC access,1 - FDC access --------' | | | | | |  |
  430.        |     |0 - DMA on,1 - no DMA ------------------' | | | | |  |
  431.        |     |Reserved ---------------------------------' | | | |  |
  432.        |     |0 - FDC reg,1 - sector count reg -----------' | | |  |
  433.        |     |0 - FDC access,1 - HDC access ----------------' | |  |
  434.        |     |0 - pin A1 low, 1 - pin A1 high ----------------' |  |
  435.        |     |0 - pin A0 low, 1 - pin A0 high ------------------'  |
  436. $FF8609|byte |DMA base and counter (High byte)                     |R/W
  437. $FF860B|byte |DMA base and counter (Mid byte)                      |R/W
  438. $FF860D|byte |DMA base and counter (Low byte)                      |R/W
  439. -------+-----+-----------------------------------------------------+----------
  440. ##############TT-SCSI DMA Controller                               ###########
  441. -------+-----+-----------------------------------------------------+----------
  442. $FF8701|byte |DMA Address Pointer (Highest byte)                   |R/W   (TT)
  443. $FF8703|byte |DMA Address Pointer (High byte)                      |R/W   (TT)
  444. $FF8705|byte |DMA Address Pointer (Low byte)                       |R/W   (TT)
  445. $FF8707|byte |DMA Address Pointer (Lowest byte)                    |R/W   (TT)
  446. $FF8709|byte |DMA Byte Count (Highest byte)                        |R/W   (TT)
  447. $FF870B|byte |DMA Byte Count (High byte)                           |R/W   (TT)
  448. $FF870D|byte |DMA Byte Count (Low byte)                            |R/W   (TT)
  449. $FF870F|byte |DMA Byte Count (Lowest byte)                         |R/W   (TT)
  450. $FF8710|word |Residue Data Register (High Word)                    |R     (TT)
  451. $FF8712|word |Residue Data Register (Low Word)                     |R     (TT)
  452. $FF8715|byte |Control register                  BIT 7 6 . . . . 1 0|R/W   (TT)
  453.        |     |Bus error ----------------------------' |         | ||
  454.        |     |Byte count zero ------------------------'         | ||
  455.        |     |Enable -------------------------------------------' ||
  456.        |     |DMA Direction (1 - out to port) --------------------'|
  457. -------+-----+-----------------------------------------------------+----------
  458. ##############TT-SCSI Drive Controller NCR 5380                    ###########
  459. -------+-----+-----------------------------------------------------+----------
  460. $FF8781|byte |Data register                                        |R/W   (TT)
  461. $FF8783|byte |Init-Command Register                                |R/W   (TT)
  462. $FF8785|byte |Mode Register                                        |R/W   (TT)
  463. $FF8787|byte |Target-Command Register                              |R/W   (TT)
  464. $FF8789|byte |ID Select/SCSI Control Register                      |R/W   (TT)
  465. $FF878B|byte |Status Register                                      |R/W   (TT)
  466. $FF878D|byte |Target Receive/Input Data                            |R/W   (TT)
  467. $FF878F|byte |Initiate Receive/Reset                               |R/W   (TT)
  468. -------+-----+-----------------------------------------------------+----------
  469. ##############YM2149 Sound Chip                                    ###########
  470. -------+-----+-----------------------------------------------------+----------
  471. $FF8800|byte |Read data/Register select                            |R/W
  472.        |     |0 Channel A Freq Low              BIT 7 6 5 4 3 2 1 0|
  473.        |     |1 Channel A Freq High                     BIT 3 2 1 0|
  474.        |     |2 Channel B Freq Low              BIT 7 6 5 4 3 2 1 0|
  475.        |     |3 Channel B Freq High                     BIT 3 2 1 0|
  476.        |     |4 Channel C Freq Low              BIT 7 6 5 4 3 2 1 0|
  477.        |     |5 Channel C Freq High                     BIT 3 2 1 0|
  478.        |     |6 Noise Freq                          BIT 5 4 3 2 1 0|
  479.        |     |7 Mixer Control                   BIT 7 6 5 4 3 2 1 0|
  480.        |     |  Port B IN/OUT (1=Output) -----------' | | | | | | ||
  481.        |     |  Port A IN/OUT ------------------------' | | | | | ||
  482.        |     |  Channel C Noise (1=Off) ----------------' | | | | ||
  483.        |     |  Channel B Noise --------------------------' | | | ||
  484.        |     |  Channel A Noise ----------------------------' | | ||
  485.        |     |  Channel C Tone (0=On) ------------------------' | ||
  486.        |     |  Channel B Tone ---------------------------------' ||
  487.        |     |  Channel A Tone -----------------------------------'|
  488.        |     |8 Channel A Amplitude Control           BIT 4 3 2 1 0|
  489.        |     |  Fixed/Variable Level (0=Fixed) -----------' | | | ||
  490.        |     |  Amplitude level control --------------------+-+-+-'|
  491.        |     |9 Channel B Amplitude Control           BIT 4 3 2 1 0|
  492.        |     |  Fixed/Variable Level ---------------------' | | | ||
  493.        |     |  Amplitude level control --------------------+-+-+-'|
  494.        |     |10 Channel C Amplitude Control          BIT 4 3 2 1 0|
  495.        |     |  Fixed/Variable Level ---------------------' | | | ||
  496.        |     |  Amplitude level control --------------------+-+-+-'|
  497.        |     |11 Envelope Period High           BIT 7 6 5 4 3 2 1 0|
  498.        |     |12 Envelope Period Low            BIT 7 6 5 4 3 2 1 0|
  499.        |     |13 Envelope Shape                         BIT 3 2 1 0|
  500.        |     |  Continue -----------------------------------' | | ||
  501.        |     |  Attack ---------------------------------------' | ||
  502.        |     |  Alternate --------------------------------------' ||
  503.        |     |  Hold ---------------------------------------------'|
  504.        |     |   00xx - \____________________________________      |
  505.        |     |   01xx - /|___________________________________      |
  506.        |     |   1000 - \|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\|\      |
  507.        |     |   1001 - \____________________________________      |
  508.        |     |   1010 - \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\      |
  509.        |     |   1011 - \|-----------------------------------      |
  510.        |     |   1100 - /|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/      |
  511.        |     |   1101 - /------------------------------------      |
  512.        |     |   1110 - /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/      |
  513.        |     |   1111 - /|___________________________________      |
  514.        |     |14 Port A                         BIT 7 6 5 4 3 2 1 0|
  515.        |     |  IDE Drive On/OFF -------------------+ | | | | | | ||    (F030)
  516.        |     |  SCC A (0=LAN, 1=Serial2) -----------' | | | | | | ||      (TT)
  517.        |     |  Monitor jack GPO pin -----------------+ | | | | | ||
  518.        |     |  Internal Speaker On/Off --------------' | | | | | ||    (F030)
  519.        |     |  Centronics strobe ----------------------' | | | | ||
  520.        |     |  RS-232 DTR output ------------------------' | | | ||
  521.        |     |  RS-232 RTS output --------------------------' | | ||
  522.        |     |  Drive select 1 -------------------------------' | ||
  523.        |     |  Drive select 0 ---------------------------------' ||
  524.        |     |  Drive side select --------------------------------'|
  525.        |     |15 Port B (Parallel port)                            |
  526. $FF8802|byte |Write data                                           |W
  527.        |     +-----------------------------------------------------+
  528.        |     |Note: PSG Registers are now fixed at these addresses.|
  529.        |     |All other addresses are masked out on the Falcon. Any|
  530.        |     |writes to the shadow registers $8804-$88FF will cause|
  531.        |     |bus errors. Game/Demo coders beware!                 |
  532. -------+-----+-----------------------------------------------------+----------
  533. ##############DMA Sound System                                     ###########
  534. -------+-----+-----------------------------------------------------+----------
  535. $FF8900|byte |Buffer interrupts                         BIT 3 2 1 0|R/W (F030)
  536.        |     |TimerA-Int at end of record buffer -----------' | | ||
  537.        |     |TimerA-Int at end of replay buffer -------------' | ||
  538.        |     |MFP-15-Int (I7) at end of record buffer ----------' ||
  539.        |     |MFP-15-Int (I7) at end of replay buffer ------------'|
  540. -------+-----+-----------------------------------------------------+----------
  541. $FF8901|byte |DMA Control Register              BIT 7 . 5 4 . . 1 0|R/W
  542.        |     |1 - select record register -----------+   | |     | ||    (F030) 
  543.        |     |0 - select replay register -----------'   | |     | ||    (F030)
  544.        |     |Loop record buffer -----------------------' |     | ||    (F030)
  545.        |     |DMA Record on ------------------------------'     | ||    (F030)
  546.        |     |Loop replay buffer -------------------------------' ||     (STe)
  547.        |     |DMA Replay on --------------------------------------'|     (STe)
  548. -------+-----+-----------------------------------------------------+----------
  549. $FF8903|byte |Frame start address (high byte)                      |R/W  (STe)
  550. $FF8905|byte |Frame start address (mid byte)                       |R/W  (STe)
  551. $FF8907|byte |Frame start address (low byte)                       |R/W  (STe)
  552. $FF8909|byte |Frame address counter (high byte)                    |R    (STe)
  553. $FF890B|byte |Frame address counter (mid byte)                     |R    (STe)
  554. $FF890D|byte |Frame address counter (low byte)                     |R    (STe)
  555. $FF890F|byte |Frame end address (high byte)                        |R/W  (STe)
  556. $FF8911|byte |Frame end address (mid byte)                         |R/W  (STe)
  557. $FF8913|byte |Frame end address (low byte)                         |R/W  (STe)
  558. -------+-----+-----------------------------------------------------+----------
  559. $FF8920|byte |DMA Track Control                     BIT 5 4 . . 1 0|R/W (F030)
  560.        |     |00 - Set DAC to Track 0 ------------------+-+     | ||
  561.        |     |01 - Set DAC to Track 1 ------------------+-+     | ||
  562.        |     |10 - Set DAC to Track 2 ------------------+-+     | ||
  563.        |     |11 - Set DAC to Track 3 ------------------+-'     | ||
  564.        |     |00 - Play 1 Track --------------------------------+-+|
  565.        |     |01 - Play 2 Tracks -------------------------------+-+|
  566.        |     |10 - Play 3 Tracks -------------------------------+-+|
  567.        |     |11 - Play 4 Tracks -------------------------------+-'|
  568. -------+-----+-----------------------------------------------------+----------
  569. $FF8921|byte |Sound mode control                BIT 7 6 . . . . 1 0|R/W  (STe)
  570.        |     |0 - Stereo, 1 - Mono -----------------' |         | ||
  571.        |     |0 - 8bit -------------------------------+         | ||
  572.        |     |1 - 16bit (F030 only) ------------------'         | ||    (F030)
  573.        |     |Frequency control bits                            | ||
  574.        |     |00 - Off (F030 only) -----------------------------+-+|    (F030)
  575.        |     |00 - 6258hz frequency (STe only) -----------------+-+|
  576.        |     |01 - 12517hz frequency ---------------------------+-+|
  577.        |     |10 - 25033hz frequency ---------------------------+-+|
  578.        |     |11 - 50066hz frequency ---------------------------+-'|
  579.        |     |Samples are always signed. In stereo mode, data is   |
  580.        |     |arranged in pairs with high pair the left channel,low|
  581.        |     |pair right channel. Sample length MUST be even in    |
  582.        |     |either mono or stereo mode.                          |
  583.        |     |Example: 8 bit Stereo : LRLRLRLRLRLRLRLR             |
  584.        |     |        16 bit Stereo : LLRRLLRRLLRRLLRR (F030)      |
  585.        |     |2 track 16 bit stereo : LLRRllrrLLRRllrr (F030)      |
  586. -------+-----+-----------------------------------------------------+----------
  587. ##############STe Microwire Controller (STe/TT only!)              ###########
  588. -------+-----+-----------------------------------------------------+----------
  589. $FF8922|byte |Microwire data register                              |R/W  (Mwr)
  590. $FF8924|byte |Microwire mask register                              |R/W  (Mwr)
  591.        |     +-----------------------------------------------------+
  592.        |     |!! ATTENTION !! Microwire is now obsolete! It is not |
  593.        |     |present in the Falcon030 and is unlikely to be in any|
  594.        |     |future machines. You have been warned.               | 
  595.        |     +-----------------------------------------------------+
  596.        |     |Volume/tone controller commands         (Address %10)|
  597.        |     |Master Volume                           10 011 DDDDDD|
  598.        |     |Left Volume                             10 101 .DDDDD|
  599.        |     |Right Volume                            10 100 .DDDDD|
  600.        |     |Treble                                  10 010 ..DDDD|
  601.        |     |Bass                                    10 001 ..DDDD|
  602.        |     |Mixer                                   10 000 ....DD|
  603.        |     +-----------------------------------------------------+
  604.        |     |Volume/tone controller values                        |
  605.        |     |Master Volume     : 0-40   (0 -80dB, 40=0dB)         |
  606.        |     |Left/Right Volume : 0-20    (0 80dB, 20=0dB)         |
  607.        |     |Treble/bass       : 0-12 (0 -12dB, 12 +12dB)         |
  608.        |     |Mixer             : 0-3 (0 -12dB, 1 mix PSG)         |
  609.        |     |                    (2 don't mix,3 reserved)         |
  610.        |     +-----------------------------------------------------+
  611.        |     |Procedure: Set mask register to $7ff. Read data      |
  612.        |     |register and save original value.Write data register.|
  613.        |     |Compare data register with original value, repeat    |
  614.        |     |until data register returns to original value to     |
  615.        |     |ensure data has been sent over the interface.        |
  616.        |     +-----------------------------------------------------+
  617.        |     |Interrupts: Timer A can be set to interrupt at the   |
  618.        |     |end of a frame. Alternatively, the GPI7 (MFP mono    |
  619.        |     |detect) can be used to generate interrupts thereby   |
  620.        |     |freeing up Timer A. In this case, the active edge    |
  621.        |     |$FFFA03 must be set by or-ing the active edge of     |
  622.        |     |$FFFA03 with the contents of $FF8260:                |
  623.        |     |$FF8260 - 2 (mono)     or.b  #$80 with edge          |
  624.        |     |$FF8260 - 0,1 (colour) and.b #$7F with edge          |
  625.        |     |This will generate an interrupt at the START of a    |
  626.        |     |frame, instead of at the end as with Timer A. To     |
  627.        |     |generate an interrupt at the END of a frame, simply  |
  628.        |     |reverse the edge values.                             |
  629. -------+-----+-----------------------------------------------------+----------
  630. ##############Falcon030 DMA/DSP Controllers                        ###########
  631. -------+-----+-----------------------------------------------------+----------
  632. $FF8930|word |Crossbar Source Controller                           |R/W (F030)
  633.        |     +-----------------------------------------------------+
  634.        |     |Source: A/D Convertor                 BIT 15 14 13 12|
  635.        |     |1 - Connect, 0 - disconnect ---------------'  |  |  ||
  636.        |     |00 - 25.175Mhz clock -------------------------+--+  ||
  637.        |     |01 - External clock --------------------------+--+  ||
  638.        |     |10 - 32Mhz clock (Don't use) -----------------+--'  ||
  639.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  640.        |     +-----------------------------------------------------+
  641.        |     |Source: External Input                BIT 11 10  9  8|
  642.        |     |0 - DSP IN, 1 - All others ----------------'  |  |  ||
  643.        |     |00 - 25.175Mhz clock -------------------------+--+  ||
  644.        |     |01 - External clock --------------------------+--+  ||
  645.        |     |10 - 32Mhz clock -----------------------------+--'  ||
  646.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  647.        |     +-----------------------------------------------------+
  648.        |     |Source: DSP-XMIT                      BIT  7  6  5  4|
  649.        |     |0 - Tristate and disconnect DSP -----------+  |  |  ||
  650.        |     |    (Only for external SSI use)            |  |  |  ||
  651.        |     |1 - Connect DSP to multiplexer ------------'  |  |  ||
  652.        |     |00 - 25.175Mhz clock -------------------------+--+  ||
  653.        |     |01 - External clock --------------------------+--+  ||
  654.        |     |10 - 32Mhz clock -----------------------------+--'  ||
  655.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  656.        |     +-----------------------------------------------------+
  657.        |     |Source: DMA-PLAYBACK                  BIT  3  2  1  0|
  658.        |     |0 - Handshaking on, dest DSP-REC ----------+  |  |  ||
  659.        |     |1 - Destination is not DSP-REC ------------'  |  |  ||
  660.        |     |00 - 25.175Mhz clock -------------------------+--+  ||
  661.        |     |01 - External clock --------------------------+--+  ||
  662.        |     |10 - 32Mhz clock -----------------------------+--'  ||
  663.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  664. -------+-----+-----------------------------------------------------+----------
  665. $FF8932|word |Crossbar Destination Controller                      |R/W (F030)
  666.        |     +-----------------------------------------------------+
  667.        |     |Destination: D/A Convertor            BIT 15 14 13 12|
  668.        |     |1 - Connect, 0 - Disconnect ---------------'  |  |  ||
  669.        |     |00 - Source DMA-PLAYBACK ---------------------+--+  ||
  670.        |     |01 - Source DSP-XMIT -------------------------+--+  ||
  671.        |     |10 - Source External Input -------------------+--+  ||
  672.        |     |11 - Source A/D Convertor --------------------+--'  ||
  673.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  674.        |     +-----------------------------------------------------+
  675.        |     |Destination: External Output          BIT 11 10  9  8|
  676.        |     |0 - DSP out, 1 - All others ---------------'  |  |  ||
  677.        |     |00 - Source DMA-PLAYBACK ---------------------+--+  ||
  678.        |     |01 - Source DSP-XMIT -------------------------+--+  ||
  679.        |     |10 - Source External Input -------------------+--+  ||
  680.        |     |11 - Source A/D Convertor --------------------+--'  ||
  681.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  682.        |     +-----------------------------------------------------+
  683.        |     |Destination: DSP-RECORD               BIT  7  6  5  4|
  684.        |     |0 - Tristate and disconnect DSP -----------+  |  |  ||
  685.        |     |    (Only for external SSI use)            |  |  |  ||
  686.        |     |1 - Connect DSP to multiplexer ------------'  |  |  ||
  687.        |     |00 - Source DMA-PLAYBACK ---------------------+--+  ||
  688.        |     |01 - Source DSP-XMIT -------------------------+--+  ||
  689.        |     |10 - Source External Input -------------------+--+  ||
  690.        |     |11 - Source A/D Convertor --------------------+--'  ||
  691.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  692.        |     +-----------------------------------------------------+
  693.        |     |Destination: DMA-RECORD               BIT  3  2  1  0|
  694.        |     |0 - Handshaking on, src DSP-XMIT ----------+  |  |  ||
  695.        |     |1 - Source is not DSP-XMIT ----------------'  |  |  ||
  696.        |     |00 - Source DMA-PLAYBACK ---------------------+--+  ||
  697.        |     |01 - Source DSP-XMIT -------------------------+--+  ||
  698.        |     |10 - Source External Input -------------------+--+  ||
  699.        |     |11 - Source A/D Convertor --------------------+--'  ||
  700.        |     |0 - Handshake on, 1 - Handshake off ----------------'|
  701. -------+-----+-----------------------------------------------------+----------
  702. $FF8934|byte |Frequency Divider External Clock          BIT 3 2 1 0|R/W (F030)
  703.        |     |0000 - STe-Compatible mode                           |
  704.        |     |0001 - 1111  Divide by 256 and then number           |
  705. -------+-----+-----------------------------------------------------+----------
  706. $FF8935|byte |Frequency Divider Internal Sync           BIT 3 2 1 0|R/W (F030)
  707.        |     |0000 - STe-Compatible mode   1000 - 10927Hz*         |
  708.        |     |0001 - 49170Hz               1001 -  9834Hz          |
  709.        |     |0010 - 32780Hz               1010 -  8940Hz*         |
  710.        |     |0011 - 24585Hz               1011 -  8195Hz          |
  711.        |     |0100 - 19668Hz               1100 -  7565Hz*         |
  712.        |     |0101 - 16390Hz               1101 -  7024Hz*         |
  713.        |     |0110 - 14049Hz*              1110 -  6556Hz*         |
  714.        |     |0111 - 12292Hz               1111 -  6146Hz*         |
  715.        |     |               * - Invalid for CODEC                 |
  716. -------+-----+-----------------------------------------------------+----------
  717. $FF8936|byte |Record Tracks Select                          BIT 1 0|R/W (F030)
  718.        |     |00 - Record 1 Track ------------------------------+-+|
  719.        |     |01 - Record 2 Tracks -----------------------------+-+|
  720.        |     |10 - Record 3 Tracks -----------------------------+-+|
  721.        |     |11 - Record 4 Tracks -----------------------------+-'|
  722. -------+-----+-----------------------------------------------------+----------
  723. $FF8937|byte |CODEC Input Source from 16bit adder           BIT 1 0|R/W (F030)
  724.        |     |Source: Multiplexer ------------------------------' ||
  725.        |     |Source: A/D Convertor ------------------------------'|
  726. -------+-----+-----------------------------------------------------+----------
  727. $FF8938|byte |CODEC ADC-Input for L+R Channel               BIT 1 0|R/W (F030)
  728.        |     |0 - Microphone, 1 - Soundchip                     L R|
  729. -------+-----+-----------------------------------------------------+----------
  730. $FF8939|byte |Channel amplification                   BIT LLLL RRRR|R/W (F030)
  731.        |     |          Amplification is in +1.5dB steps           |
  732. -------+-----+-----------------------------------------------------+----------
  733. $FF893A|word |Channel attenuation                     BIT LLLL RRRR|R/W (F030)
  734.        |     |           Attenuation is in -1.5dB steps            |
  735. -------+-----+-----------------------------------------------------+----------
  736. $FF893C|byte |CODEC-Status                                  BIT 1 0|R/W (F030)
  737.        |     |Left Channel Overflow ----------------------------' ||
  738.        |     |Right Channel Overflow -----------------------------'|
  739. -------+-----+-----------------------------------------------------+----------
  740. $FF8941|byte |GPx Data Direction                          BIT 2 1 0|R/W (F030)
  741.        |     |0 - In, 1 - Out --------------------------------+-+-'|
  742.        |     | For the GP0-GP2 pins on the DSP connector           |
  743. -------+-----+-----------------------------------------------------+----------
  744. $FF8943|byte |GPx Data Port                               BIT 2 1 0|R/W (F030)
  745. -------+-----+-----------------------------------------------------+----------
  746. ##############TT Clock Chip (MC146818A @ 32.768 khz)               ###########
  747. -------+-----+-----------------------------------------------------+----------
  748. $FF8961|byte |Register select                                      |W     (TT)
  749.        |     |0 - Current Second                                   |
  750.        |     |1 - Second for alarm                                 |
  751.        |     |2 - Current Minute                                   |
  752.        |     |3 - Minute for alarm                                 |
  753.        |     |4 - Current Hour                                     |
  754.        |     |5 - Hour for alarm                                   |
  755.        |     |6 - Day of week (1=Sunday, 2=Monday, 3=...)          |
  756.        |     |7 - Day of Month                                     |
  757.        |     |8 - Month                                            |
  758.        |     |9 - Year (example : '93' for this year)              |
  759.        |     |A                                               BIT 7|
  760.        |     |    If set, update time in progress ----------------'|
  761.        |     |    don't read time & date registers                 |
  762.        |     |B                                 BIT 7 6 5 4 3 2 1 0|
  763.        |     |1 = Write Protect time & date --------'   | |   | | ||
  764.        |     |1 = Enable alarm interrupt ---------------' |   | | ||
  765.        |     |1 = Interrupt after time updated -----------'   | | ||
  766.        |     |1 = Format Binary, 0 = Format BCD --------------' | ||
  767.        |     |1 = 24hr format, 0 = 12hr format -----------------' ||
  768.        |     |1 = Summer hours, 0 = Winter hours -----------------'|
  769.        |     |C                                           BIT 6 5 4|
  770.        |     | ??? -------------------------------------------' | ||
  771.        |     |1 = alarm is ringing -----------------------------' ||
  772.        |     |1 = date is updated --------------------------------'|
  773.        |     |On interrupt, read this register to determine source.|
  774.        |     |D                                               BIT 7|
  775.        |     |1 = Battery dead -----------------------------------'|
  776. $FF8963|byte |Register data                                        |R/W   (TT)
  777. -------+-----+-----------------------------------------------------+----------
  778. ##############Blitter (Not present on TT!)                         ###########
  779. -------+-----+-----------------------------------------------------+----------
  780. $FF8A00|word |Halftone-RAM, Word 0                                 |R/W (Blit)
  781.     :  |  :  |    :     :     :  :                                 | :     :
  782. $FF8A1E|word |Halftone-RAM, Word 15                                |R/W (Blit)
  783. $FF8A20|word |Source X Increment                      (signed,even)|R/W (Blit)
  784. $FF8A22|word |Source Y Increment                      (signed,even)|R/W (Blit)
  785. $FF8A24|long |Source Address Register                 (24 bit,even)|R/W (Blit)
  786. $FF8A28|word |Endmask 1                     (First write of a line)|R/W (Blit)
  787. $FF8A2A|word |Endmask 2                     (All other line writes)|R/W (Blit)
  788. $FF8A2C|word |Endmask 3                      (Last write of a line)|R/W (Blit)
  789. $FF8A2E|word |Destination X Increment                 (signed,even)|R/W (Blit)
  790. $FF8A30|word |Destination Y Increment                 (signed,even)|R/W (Blit)
  791. $FF8A32|long |Destination Address Register            (24 bit,even)|R/W (Blit)
  792. $FF8A36|word |Words per Line in Bit-Block                 (0=65536)|R/W (Blit)
  793. $FF8A38|word |Lines per Bit-Block                         (0=65536)|R/W (Blit)
  794. $FF8A3A|byte |Halftone Operation Register                   BIT 1 0|R/W (Blit)
  795.        |     |00 - All ones ------------------------------------+-+|
  796.        |     |01 - Halftone ------------------------------------+-+|
  797.        |     |10 - Source --------------------------------------+-+|
  798.        |     |11 - Source AND Halftone -------------------------+-'|
  799. $FF8A3B|byte |Logical Operation Register                BIT 3 2 1 0|R/W (Blit)
  800.        |     |0000 All zeros -------------------------------+-+-+-+|
  801.        |     |0001 Source AND destination ------------------+-+-+-+|
  802.        |     |0010 Source AND NOT destination --------------+-+-+-+|
  803.        |     |0011 Source ----------------------------------+-+-+-+|
  804.        |     |0100 NOT source AND destination --------------+-+-+-+|
  805.        |     |0101 Destination -----------------------------+-+-+-+|
  806.        |     |0110 Source XOR destination ------------------+-+-+-+|
  807.        |     |0111 Source OR destination -------------------+-+-+-+|
  808.        |     |1000 NOT source AND NOT destination ----------+-+-+-+|
  809.        |     |1001 NOT source XOR destination --------------+-+-+-+|
  810.        |     |1010 NOT destination -------------------------+-+-+-+|
  811.        |     |1011 Source OR NOT destination ---------------+-+-+-+|
  812.        |     |1100 NOT source ------------------------------+-+-+-+|
  813.        |     |1101 NOT source OR destination ---------------+-+-+-+|
  814.        |     |1110 NOT source OR NOT destination -----------+-+-+-+|
  815.        |     |1111 All ones --------------------------------+-+-+-'|
  816. $FF8A3C|byte |Line Number Register              BIT 7 6 5 . 3 2 1 0|R/W (Blit)
  817.        |     |BUSY ---------------------------------' | |   | | | ||
  818.        |     |0 - Share bus, 1 - Hog bus -------------' |   | | | ||
  819.        |     |SMUDGE mode ------------------------------'   | | | ||
  820.        |     |Halftone line number -------------------------+-+-+-'|
  821. $FF8A3D|byte |SKEW Register                     BIT 7 6 . . 3 2 1 0|R/W (Blit)
  822.        |     |Force eXtra Source Read --------------' |     | | | ||
  823.        |     |No Final Source Read -------------------'     | | | ||
  824.        |     |Source skew ----------------------------------+-+-+-'|
  825. -------+-----+-----------------------------------------------------+----------
  826. ##############SCC-DMA (TT Only!)                                   ###########
  827. -------+-----+-----------------------------------------------------+----------
  828. $FF8C01|byte |DMA Address Pointer (Highest Byte)                   |R/W   (TT)
  829. $FF8C03|byte |DMA Address Pointer (High Byte)                      |R/W   (TT)
  830. $FF8C05|byte |DMA Address Pointer (Low Byte)                       |R/W   (TT)
  831. $FF8C07|byte |DMA Address Pointer (Lowest Byte)                    |R/W   (TT)
  832. $FF8C09|byte |DMA Byte Count (Highest-Byte)                        |R/W   (TT)
  833. $FF8C0B|byte |DMA Byte Count (High-Byte)                           |R/W   (TT)
  834. $FF8C0D|byte |DMA Byte Count (Low-Byte)                            |R/W   (TT)
  835. $FF8C0F|byte |DMA Byte Count (Lowest-Byte)                         |R/W   (TT)
  836. $FF8C10|word |Residue Data Register (High-Word)                    |R     (TT)
  837. $FF8C12|word |Residue Data register (Low-Word)                     |R     (TT)
  838. $FF8C15|byte |Control register                  BIT 7 6 . . . . 1 0|R/W   (TT)
  839.        |     |Bus error ----------------------------' |         | ||
  840.        |     |Byte count zero ------------------------'         | ||
  841.        |     |Enable -------------------------------------------' ||
  842.        |     |DMA Direction (1 - out to port) --------------------'|
  843. -------+-----+-----------------------------------------------------+----------
  844. ##############Zilog 8530 SCC (MSTe/TT/F030)                        ###########
  845. -------+-----+-----------------------------------------------------+----------
  846. $FF8C81|byte |Channel A - Control Register                         |R/W  (SCC)
  847. $FF8C83|byte |Channel A - Data Register                            |R/W  (SCC)
  848. $FF8C85|byte |Channel B - Control Register                         |R/W  (SCC)
  849. $FF8C87|byte |Channel B - Data Register                            |R/W  (SCC)
  850. -------+-----+-----------------------------------------------------+----------
  851. ##############VME Bus System Control Unit (MSTe/TT)                ###########
  852. -------+-----+-----------------------------------------------------+----------
  853. $FF8E01|byte |VME sys_mask                      BIT 7 6 5 4 . 2 1 .|R/W  (VME)
  854. $FF8E03|byte |VME sys_stat                      BIT 7 6 5 4 . 2 1 .|R    (VME)
  855.        |     |_SYSFAIL in VMEBUS -------------------' | | |   | |  |program
  856.        |     |MFP ------------------------------------' | |   | |  |autovec
  857.        |     |SCC --------------------------------------' |   | |  |autovec
  858.        |     |VSYNC --------------------------------------'   | |  |program
  859.        |     |HSYNC ------------------------------------------' |  |program
  860.        |     |System software INT ------------------------------'  |program
  861.        |     +-----------------------------------------------------+
  862.        |     |Reading sys_mask resets pending int-bits in sys_stat,|
  863.        |     |so read sys_stat first.                              |
  864. -------+-----+-----------------------------------------------------+----------
  865. $FF8E05|byte |VME sys_int                                     BIT 0|R/W  (VME)
  866.        |     |Setting bit 0 to 1 forces an INT of level 1. INT must|Vector $64
  867.        |     |be enabled in sys_mask to use it.                    |
  868. -------+-----+-----------------------------------------------------+----------
  869. $FF8E0D|byte |VME vme_mask                      BIT 7 6 5 4 3 2 1 .|R/W  (VME)
  870. $FF8E0F|byte |VME vme_stat                      BIT 7 6 5 4 3 2 1 .|R    (VME)
  871.        |     |_IRQ7 from VMEBUS --------------------' | | | | | |  |program
  872.        |     |_IRQ6 from VMEBUS/MFP ------------------' | | | | |  |program
  873.        |     |_IRQ5 from VMEBUS/SCC --------------------' | | | |  |program
  874.        |     |_IRQ4 from VMEBUS --------------------------' | | |  |program
  875.        |     |_IRQ3 from VMEBUS/soft -----------------------' | |  |prog/autov
  876.        |     |_IRQ2 from VMEBUS ------------------------------' |  |program
  877.        |     |_IRQ1 from VMEBUS --------------------------------'  |program
  878.        |     +-----------------------------------------------------+
  879.        |     |MFP-int and SCC-int are hardwired to the VME-BUS-ints|
  880.        |     |(or'ed). Reading vme_mask resets pending int-bits in |
  881.        |     |vme_stat, so read vme_stat first.                    |
  882. -------+-----+-----------------------------------------------------+----------
  883. $FF8E07|byte |VME vme_int                                     BIT 0|R/W   (TT)
  884.        |     |Setting bit 0 to 1 forces an INT of level 3. INT must|Vector $6C
  885.        |     |be enabled in vme_mask to use it.                    |
  886. -------+-----+-----------------------------------------------------+----------
  887. $FF8E09|byte |General purpose register - does nothing              |R/W   (TT)
  888. $FF8E0B|byte |General purpose register - does nothing              |R/W   (TT)
  889. -------+-----+-----------------------------------------------------+----------
  890. ##############Mega STe Cache/Processor Control                     ###########
  891. -------+-----+-----------------------------------------------------+----------
  892. $FF8E21|byte |Mega STe Cache/Processor Control           BIT 15-1 0|R/W (MSTe)
  893.        |     |Cache enable lines (set all to 1 to enable) -----'  ||
  894.        |     |CPU Speed (0 - 8mhz, 1 - 16mhz) --------------------'|
  895. -------+-----+-----------------------------------------------------+----------
  896. ##############STe/F030 Extended Joystick/Lightpen Ports            ###########
  897. -------+-----+-----------------------------------------------------+----------
  898. $FF9200|word |Fire buttons 1-4                          Bit 3 2 1 0|R    (Ext)
  899.        |     |Pause/F0 -------------------------------------' | | ||
  900.        |     |F1 ---------------------------------------------' | ||
  901.        |     |F2 -----------------------------------------------' ||
  902.        |     |Option/F3 ------------------------------------------'|
  903. $FF9202|word |Read Mask (0 - pin read)                             |W    (Ext)
  904. $FF9202|word |Joystick Inputs                   BIT 7 6 5 4 3 2 1 0|R    (Ext)
  905.        |     |Controller 1 pin 4 -------------------' | | | | | | ||
  906.        |     |Controller 1 pin 3 ---------------------' | | | | | ||
  907.        |     |Controller 1 pin 2 -----------------------' | | | | ||
  908.        |     |Controller 1 pin 1 -------------------------' | | | ||
  909.        |     |Controller 0 pin 4 ---------------------------' | | ||
  910.        |     |Controller 0 pin 3/Paddle 1 Trigger ------------' | ||
  911.        |     |Controller 0 pin 2/Paddle 0 Trigger --------------' ||
  912.        |     |Controller 0 pin 1 ---------------------------------'|
  913.        |     |                            BIT 15 14 13 12 11 10 9 8|
  914.        |     |Controller 1 pin 14 ------------'   |  |  |  |  | | ||
  915.        |     |Controller 1 pin 13 ----------------'  |  |  |  | | ||
  916.        |     |Controller 1 pin 12 -------------------'  |  |  | | ||
  917.        |     |Controller 1 pin 11 ----------------------'  |  | | ||
  918.        |     |Controller 0 pin 14 -------------------------'  | | ||
  919.        |     |Controller 0 pin 13 ----------------------------' | ||
  920.        |     |Controller 0 pin 12 ------------------------------' ||
  921.        |     |Controller 0 pin 11 --------------------------------'|
  922. $FF9210|word |X Paddle 0 Position               BIT 7 6 5 4 3 2 1 0|R    (Ext)
  923. $FF9212|word |Y Paddle 0 Position               BIT 7 6 5 4 3 2 1 0|R    (Ext)
  924. $FF9214|word |X Paddle 1 Position               BIT 7 6 5 4 3 2 1 0|R    (Ext)
  925. $FF9216|word |Y Paddle 1 Position               BIT 7 6 5 4 3 2 1 0|R    (Ext)
  926. $FF9220|word |Lightpen X-Position           BIT 9 8 7 6 5 4 3 2 1 0|R    (Ext)
  927. $FF9222|word |Lightpen Y-Position           BIT 9 8 7 6 5 4 3 2 1 0|R    (Ext)
  928. -------+-----+-----------------------------------------------------+----------
  929. ##############Falcon VIDEL Palette Registers                       ###########
  930. -------+-----+-----------------------------------------------------+----------
  931.        |     |              BIT 33222222 22221111 11111198 76543210|
  932.        |     |                  10987654 32109876 543210           |
  933.        |     |                  RRRRRr.. GGGGGg.. ........ BBBBBb..|
  934. $FF9800|long |Palette Register  0                   Lowercase = LSB|R/W (F030)
  935.    :   |  :  |   :        :     :                                  | :     :
  936. $FF98FC|long |Palette Register 255                                 |R/W (F030)
  937. -------+-----+-----------------------------------------------------+----------
  938. ##############Falcon DSP Host Interface                            ###########
  939. -------+-----+-----------------------------------------------------+----------
  940. $FFA200|byte |Interrupt Ctrl Register           BIT 7 6 5 4 3 . 1 0|R/W (F030)
  941. X:$FFE9|     |INIT bit -----------------------------' | | | |   | ||
  942.        |     |00 - Interupt mode (DMA off) -----------+-+ | |   | ||
  943.        |     |01 - 24-bit DMA mode -------------------+-+ | |   | ||
  944.        |     |10 - 16-bit DMA mode -------------------+-+ | |   | ||
  945.        |     |11 - 8-bit DMA mode --------------------+-' | |   | ||
  946.        |     |Host Flag 1 --------------------------------' |   | ||
  947.        |     |Host Flag 0 ----------------------------------'   | ||
  948.        |     |         Host mode Data transfers:                | ||
  949.        |     |              Interrupt mode                      | ||
  950.        |     |00 - No interrupts (Polling) ---------------------+-+|
  951.        |     |01 - RXDF Request (Interrupt) --------------------+-+|
  952.        |     |10 - TXDE Request (Interrupt) --------------------+-+|
  953.        |     |11 - RXDF and TXDE Request (Interrupts) ----------+-+|
  954.        |     |                 DMA Mode                         | ||
  955.        |     |00 - No DMA --------------------------------------+-+|
  956.        |     |01 - DSP to Host Request (RX) --------------------+-+|
  957.        |     |10 - Host to DSP Request (TX) --------------------+-+|
  958.        |     |11 - Undefined (Illegal) -------------------------+-'|
  959. $FFA201|byte |Command Vector Register           BIT 7 . . 4 3 2 1 0|R/W (F030)
  960. X:$FFE9|     |Host Command Bit (Handshake)----------'     | | | | ||
  961.        |     |Host Vector (0-31) -------------------------+-+-+-+-'|
  962. $FFA202|byte |Interrupt Status Reg              BIT 7 6 . 4 3 2 1 0|R   (F030)
  963. X:$FFE8|     |ISR Host Request ---------------------' |   | | | | ||
  964.        |     |ISR DMA Status -------------------------'   | | | | ||
  965.        |     |Host Flag 3 --------------------------------' | | | ||
  966.        |     |Host Flag 2 ----------------------------------' | | ||
  967.        |     |ISR Transmitter Ready (TRDY) -------------------' | ||
  968.        |     |ISR Transmit Data Register Empty (TXDE) ----------' ||
  969.        |     |ISR Receive Data Register Full (RXDF) --------------'|
  970. $FFA203|byte |Interrupt Vector Register                            |R/W (F030)
  971. $FFA204|byte |Unused                                               |    (F030)
  972. $FFA205|byte |DSP-Word High                                        |R/W (F030)
  973. X:$FFEB|     |                                                     |
  974. $FFA206|byte |DSP-Word Mid                                         |R/W (F030)
  975. X:$FFEB|     |                                                     |
  976. $FFA207|byte |DSP-Word Low                                         |R/W (F030)
  977. X:$FFEB|     |                                                     |
  978. -------+-----+-----------------------------------------------------+----------
  979. ##############MFP 68901 - Multi Function Peripheral Chip           ###########
  980. -------+-----+-----------------------------------------------------+----------
  981.        |     |     MFP Master Clock is 2,457,600 cycles/second     |
  982. -------+-----+-----------------------------------------------------+----------
  983. $FFFA01|byte |Parallel Port Data Register                          |R/W
  984. -------+-----+-----------------------------------------------------+----------
  985. $FFFA03|byte |Active Edge Register              BIT 7 6 5 4 . 2 1 0|R/W
  986.        |     |Monochrome monitor detect ------------' | | | | | | ||
  987.        |     |RS-232 Ring indicator ------------------' | | | | | ||
  988.        |     |FDC/HDC interrupt ------------------------' | | | | ||
  989.        |     |Keyboard/MIDI interrupt --------------------' | | | ||
  990.        |     |Reserved -------------------------------------' | | ||
  991.        |     |RS-232 CTS (input) -----------------------------' | ||
  992.        |     |RS-232 DCD (input) -------------------------------' ||
  993.        |     |Centronics busy ------------------------------------'|
  994.        |     +-----------------------------------------------------+
  995.        |     |       When port bits are used for input only:       |
  996.        |     |0 - Interrupt on pin high-low conversion             |
  997.        |     |1 - Interrupt on pin low-high conversion             |
  998. -------+-----+-----------------------------------------------------+----------
  999. $FFFA05|byte |Data Direction                    BIT 7 6 5 4 3 2 1 0|R/W
  1000.        |     |0 - In, 1 - Out ----------------------+-+-+-+-+-+-+-'|
  1001. -------+-----+-----------------------------------------------------+----------
  1002. $FFFA07|byte |Interrupt Enable A                BIT 7 6 5 4 3 2 1 0|R/W
  1003. $FFFA0B|byte |Interrupt Pending A               BIT 7 6 5 4 3 2 1 0|R/W
  1004. $FFFA0F|byte |Interrupt In-service A            BIT 7 6 5 4 3 2 1 0|R/W
  1005. $FFFA13|byte |Interrupt Mask A                  BIT 7 6 5 4 3 2 1 0|R/W
  1006.        |     |MFP Address                           | | | | | | | ||
  1007.        |     |$13C GPI7-Monochrome Detect ----------' | | | | | | ||
  1008.        |     |$138   RS-232 Ring Detector ------------' | | | | | ||
  1009.        |     |$134 (STe sound)    Timer A --------------' | | | | ||
  1010.        |     |$130    Receive buffer full ----------------' | | | ||
  1011.        |     |$12C          Receive error ------------------' | | ||
  1012.        |     |$128      Send buffer empty --------------------' | ||
  1013.        |     |$124             Send error ----------------------' ||
  1014.        |     |$120 (HBL)          Timer B ------------------------'|
  1015.        |     |1 - Enable Interrupt            0 - Disable Interrupt|
  1016. -------+-----+-----------------------------------------------------+----------
  1017. $FFFA09|byte |Interrupt Enable B                BIT 7 6 5 4 3 2 1 0|R/W
  1018. $FFFA0D|byte |Interrupt Pending B               BIT 7 6 5 4 3 2 1 0|R/W
  1019. $FFFA11|byte |Interrupt In-service B            BIT 7 6 5 4 3 2 1 0|R/W
  1020. $FFFA15|byte |Interrupt Mask B                  BIT 7 6 5 4 3 2 1 0|R/W
  1021.        |     |MFP Address                           | | | | | | | ||
  1022.        |     |$11C                FDC/HDC ----------' | | | | | | ||
  1023.        |     |$118          Keyboard/MIDI ------------' | | | | | ||
  1024.        |     |$114 (200hz clock)  Timer C --------------' | | | | ||
  1025.        |     |$110 (USART timer)  Timer D ----------------' | | | ||
  1026.        |     |$10C           Blitter done ------------------' | | ||
  1027.        |     |$108     RS-232 CTS - input --------------------' | ||
  1028.        |     |$104     RS-232 DCD - input ----------------------' ||
  1029.        |     |$100        Centronics Busy ------------------------'|
  1030.        |     |1 - Enable Interrupt            0 - Disable Interrupt|
  1031. -------+-----+-----------------------------------------------------+----------
  1032. $FFFA17|byte |Vector Register                   BIT 7 6 5 4 3 . . .|R/W
  1033.        |     |Vector Base Offset -------------------+-+-+-' |      |
  1034.        |     |1 - *Software End-interrupt mode -------------+      |
  1035.        |     |0 - Automatic End-interrupt mode -------------'      |
  1036.        |     |* - Default operating mode                           |
  1037. -------+-----+-----------------------------------------------------+----------
  1038. $FFFA19|byte |Timer A Control                         BIT 4 3 2 1 0|R/W
  1039. $FFFA1B|byte |Timer B Control                         BIT 4 3 2 1 0|R/W
  1040.        |     |Reset (force output low) -------------------' | | | ||
  1041.        |     +----------------------------------------------+-+-+-++
  1042.        |     |0000 - Timer stop, no function executed              |
  1043.        |     |0001 - Delay mode, divide by 4                       |
  1044.        |     |0010 -     :           :     10                      |
  1045.        |     |0011 -     :           :     16                      |
  1046.        |     |0100 -     :           :     50                      |
  1047.        |     |0101 -     :           :     64                      |
  1048.        |     |0110 -     :           :     100                     |
  1049.        |     |0111 - Delay mode, divide by 200                     |
  1050.        |     |1000 - Event count mode                              |
  1051.        |     |1xxx - Pulse extension mode, divide as above         |
  1052.        |     +-----------------------------------------------------+
  1053. $FFFA1F|byte |Timer A Data                                         |R/W
  1054. $FFFA21|byte |Timer B Data                                         |R/W
  1055. -------+-----+-----------------------------------------------------+----------
  1056. $FFFA1D|byte |Timer C & D Control                 BIT 6 5 4 . 2 1 0|R/W
  1057.        |     |                                        Timer   Timer|
  1058.        |     |                                          C       D  |
  1059.        |     +-----------------------------------------------------+
  1060.        |     |000 - Timer stop                                     |
  1061.        |     |001 - Delay mode, divide by 4                        |
  1062.        |     |010 -      :           :    10                       |
  1063.        |     |011 -      :           :    16                       |
  1064.        |     |100 -      :           :    50                       |
  1065.        |     |101 -      :           :    64                       |
  1066.        |     |110 -      :           :    100                      |
  1067.        |     |111 - Delay mode, divide by 200                      |
  1068.        |     +-----------------------------------------------------+
  1069. $FFFA23|byte |Timer C Data                                         |R/W
  1070. $FFFA25|byte |Timer D Data                                         |R/W
  1071. -------+-----+-----------------------------------------------------+----------
  1072. $FFFA27|byte |Sync Character                                       |R/W
  1073. $FFFA29|byte |USART Control                     BIT 7 6 5 4 3 2 1 .|R/W
  1074.        |     |Clock divide (1 - div by 16) ---------' | | | | | | ||
  1075.        |     |Word Length 00 - 8 bits ----------------+-+ | | | | ||
  1076.        |     |            01 - 7 bits ----------------+-+ | | | | ||
  1077.        |     |            10 - 6 bits ----------------+-+ | | | | ||
  1078.        |     |            11 - 5 bits ----------------+-' | | | | ||
  1079.        |     |Bits Stop Start Format                      | | | | ||
  1080.        |     |00     0    0   Synchronous ----------------+-+ | | ||
  1081.        |     |01     1    1   Asynchronous ---------------+-+ | | ||
  1082.        |     |10     1    1.5 Asynchronous ---------------+-+ | | ||
  1083.        |     |11     1    2   Asynchronous ---------------+-' | | ||
  1084.        |     |Parity (0 - ignore parity bit) -----------------' | ||
  1085.        |     |Parity (0 - odd parity,1 - even) -----------------' ||
  1086.        |     |Unused ---------------------------------------------'|
  1087. $FFFA2B|byte |Receiver Status                   BIT 7 6 5 4 3 2 1 0|R/W
  1088.        |     |Buffer full --------------------------' | | | | | | ||
  1089.        |     |Overrun error --------------------------' | | | | | ||
  1090.        |     |Parity error -----------------------------' | | | | ||
  1091.        |     |Frame error --------------------------------' | | | ||
  1092.        |     |Found - Search/Break detected ----------------' | | ||
  1093.        |     |Match/Character in progress --------------------' | ||
  1094.        |     |Synchronous strip enable -------------------------' ||
  1095.        |     |Receiver enable bit --------------------------------'|
  1096. $FFFA2D|byte |Transmitter Status                BIT 7 6 5 4 3 2 1 0|R/W
  1097.        |     |Buffer empty -------------------------' | | | | | | ||
  1098.        |     |Underrun error -------------------------' | | | | | ||
  1099.        |     |Auto turnaround --------------------------' | | | | ||
  1100.        |     |End of transmission ------------------------' | | | ||
  1101.        |     |Break ----------------------------------------' | | ||
  1102.        |     |High bit ---------------------------------------' | ||
  1103.        |     |Low bit ------------------------------------------' ||
  1104.        |     |Transmitter enable ---------------------------------'|
  1105. $FFFA2F|byte |USART data                                           |R/W
  1106. -------+-----+-----------------------------------------------------+----------
  1107. ##############Floating Point Coprocessor (CIR Interface in MSTe)   ###########
  1108. -------+-----+-----------------------------------------------------+----------
  1109. $FFFA40|word |FP_Stat    Response-Register                         |??? (MSTe)
  1110. $FFFA42|word |FP_Ctl     Control-Register                          |??? (MSTe)
  1111. $FFFA44|word |FP_Save    Save-Register                             |??? (MSTe)
  1112. $FFFA46|word |FP_Restor  Restore-Register                          |??? (MSTe)
  1113. $FFFA48|word |                                                     |??? (MSTe)
  1114. $FFFA4A|word |FP_Cmd     Command-Register                          |??? (MSTe)
  1115. $FFFA4E|word |FP_Ccr     Condition-Code-Register                   |??? (MSTe)
  1116. $FFFA50|long |FP_Op      Operand-Register                          |??? (MSTe)
  1117. $FFFA54|word |FP_Selct   Register Select                           |??? (MSTe)
  1118. $FFFA58|long |FP_Iadr    Instruction Address                       |??? (MSTe)
  1119. $FFFA5C|long |           Operand Address                           |??? (MSTe)
  1120. -------+-----+-----------------------------------------------------+----------
  1121. ##############MFP 68901 #2 (MFP2) - TT Only                        ###########
  1122. -------+-----+-----------------------------------------------------+----------
  1123. $FFFA81|byte |Parallel Port Data Register                          |R/W   (TT)
  1124. -------+-----+-----------------------------------------------------+----------
  1125. $FFFA83|byte |Active Edge Register              BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1126.        |     +-----------------------------------------------------+
  1127.        |     |       When port bits are used for input only:       |
  1128.        |     |0 - Interrupt on pin high-low conversion             |
  1129.        |     |1 - Interrupt on pin low-high conversion             |
  1130. -------+-----+-----------------------------------------------------+----------
  1131. $FFFA85|byte |Data Direction                    BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1132.        |     |0 - In, 1 - Out ----------------------+-+-+-+-+-+-+-'|
  1133. -------+-----+-----------------------------------------------------+----------
  1134. $FFFA87|byte |Interrupt Enable A                BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1135. $FFFA8B|byte |Interrupt Pending A               BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1136. $FFFA8F|byte |Interrupt In-service A            BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1137. $FFFA93|byte |Interrupt Mask A                  BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1138.        |     |MFP Address                           | | | | | | | ||
  1139.        |     |$17C         TT-SCSI NCR5380 ---------' | | | | | | ||
  1140.        |     |$178         RTC (MC146818A) -----------' | | | | | ||
  1141.        |     |$174                 Timer A -------------' | | | | ||
  1142.        |     |$170     Receive buffer full ---------------' | | | ||
  1143.        |     |$16C           Receive error -----------------' | | ||
  1144.        |     |$168       Send buffer empty -------------------' | ||
  1145.        |     |$164              Send error ---------------------' ||
  1146.        |     |$160                 Timer B -----------------------'|
  1147.        |     |1 - Enable Interrupt            0 - Disable Interrupt|
  1148. -------+-----+-----------------------------------------------------+----------
  1149. $FFFA89|byte |Interrupt Enable B                BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1150. $FFFA8D|byte |Interrupt Pending B               BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1151. $FFFA91|byte |Interrupt In-service B            BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1152. $FFFA95|byte |Interrupt Mask B                  BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1153.        |     |MFP Address                           | | | | | | | ||
  1154.        |     |$15C     SCSI DMA Controller ---------' | | | | | | ||
  1155.        |     |$158       (Reserved) GPIP 4 -----------' | | | | | ||
  1156.        |     |$154                 Timer C -------------' | | | | ||
  1157.        |     |$150                 Timer D ---------------' | | | ||
  1158.        |     |$14C    SCC B Ring Indicator -----------------' | | ||
  1159.        |     |$148      SCC DMA Controller -------------------' | ||
  1160.        |     |$144 General Purpose Input 1 ---------------------' ||
  1161.        |     |$140 General Purpose Input 0 -----------------------'|
  1162.        |     |1 - Enable Interrupt            0 - Disable Interrupt|
  1163. -------+-----+-----------------------------------------------------+----------
  1164. $FFFA97|byte |Vector Register                   BIT 7 6 5 4 3 . . .|R/W   (TT)
  1165.        |     |Vector Base Offset -------------------+-+-+-' |      |
  1166.        |     |1 - *Software End-interrupt mode -------------+      |
  1167.        |     |0 - Automatic End-interrupt mode -------------'      |
  1168.        |     |* - Default operating mode                           |
  1169. -------+-----+-----------------------------------------------------+----------
  1170. $FFFA99|byte |Timer A Control                         BIT 4 3 2 1 0|R/W   (TT)
  1171. $FFFA9B|byte |Timer B Control                         BIT 4 3 2 1 0|R/W   (TT)
  1172.        |     |Reset (force output low) -------------------' | | | ||
  1173.        |     +----------------------------------------------+-+-+-++
  1174.        |     |0000 - Timer stop, no function executed              |
  1175.        |     |0001 - Delay mode, divide by 4                       |
  1176.        |     |0010 -     :           :     10                      |
  1177.        |     |0011 -     :           :     16                      |
  1178.        |     |0100 -     :           :     50                      |
  1179.        |     |0101 -     :           :     64                      |
  1180.        |     |0110 -     :           :     100                     |
  1181.        |     |0111 - Delay mode, divide by 200                     |
  1182.        |     |1000 - Event count mode                              |
  1183.        |     |1xxx - Pulse extension mode, divide as above         |
  1184.        |     +-----------------------------------------------------+
  1185. $FFFA9F|byte |Timer A Data                                         |R/W   (TT)
  1186. $FFFAA1|byte |Timer B Data                                         |R/W   (TT)
  1187. -------+-----+-----------------------------------------------------+----------
  1188. $FFFA9D|byte |Timer C & D Control                 BIT 6 5 4 . 2 1 0|R/W   (TT)
  1189.        |     |                                        Timer   Timer|
  1190.        |     |                                          C       D  |
  1191.        |     +-----------------------------------------------------+
  1192.        |     |000 - Timer stop                                     |
  1193.        |     |001 - Delay mode, divide by 4                        |
  1194.        |     |010 -      :           :    10                       |
  1195.        |     |011 -      :           :    16                       |
  1196.        |     |100 -      :           :    50                       |
  1197.        |     |101 -      :           :    64                       |
  1198.        |     |110 -      :           :    100                      |
  1199.        |     |111 - Delay mode, divide by 200                      |
  1200.        |     +-----------------------------------------------------+
  1201. $FFFAA3|byte |Timer C Data                                         |R/W   (TT)
  1202. $FFFAA5|byte |Timer D Data                                         |R/W   (TT)
  1203. -------+-----+-----------------------------------------------------+----------
  1204. $FFFAA7|byte |Sync Character                                       |R/W   (TT)
  1205. $FFFAA9|byte |USART Control                     BIT 7 6 5 4 3 2 1 .|R/W   (TT)
  1206.        |     |Clock divide (1 - div by 16) ---------' | | | | | | ||
  1207.        |     |Word Length 00 - 8 bits ----------------+-+ | | | | ||
  1208.        |     |            01 - 7 bits ----------------+-+ | | | | ||
  1209.        |     |            10 - 6 bits ----------------+-+ | | | | ||
  1210.        |     |            11 - 5 bits ----------------+-' | | | | ||
  1211.        |     |Bits Stop Start Format                      | | | | ||
  1212.        |     |00     0    0   Synchronous ----------------+-+ | | ||
  1213.        |     |01     1    1   Asynchronous ---------------+-+ | | ||
  1214.        |     |10     1    1.5 Asynchronous ---------------+-+ | | ||
  1215.        |     |11     1    2   Asynchronous ---------------+-' | | ||
  1216.        |     |Parity (0 - ignore parity bit) -----------------' | ||
  1217.        |     |Parity (0 - odd parity,1 - even) -----------------' ||
  1218.        |     |Unused ---------------------------------------------'|
  1219. $FFFAAB|byte |Receiver Status                   BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1220.        |     |Buffer full --------------------------' | | | | | | ||
  1221.        |     |Overrun error --------------------------' | | | | | ||
  1222.        |     |Parity error -----------------------------' | | | | ||
  1223.        |     |Frame error --------------------------------' | | | ||
  1224.        |     |Found - Search/Break detected ----------------' | | ||
  1225.        |     |Match/Character in progress --------------------' | ||
  1226.        |     |Synchronous strip enable -------------------------' ||
  1227.        |     |Receiver enable bit --------------------------------'|
  1228. $FFFAAD|byte |Transmitter Status                BIT 7 6 5 4 3 2 1 0|R/W   (TT)
  1229.        |     |Buffer empty -------------------------' | | | | | | ||
  1230.        |     |Underrun error -------------------------' | | | | | ||
  1231.        |     |Auto turnaround --------------------------' | | | | ||
  1232.        |     |End of transmission ------------------------' | | | ||
  1233.        |     |Break ----------------------------------------' | | ||
  1234.        |     |High bit ---------------------------------------' | ||
  1235.        |     |Low bit ------------------------------------------' ||
  1236.        |     |Transmitter enable ---------------------------------'|
  1237. $FFFAAF|byte |USART data                                           |R/W   (TT)
  1238. -------+-----+-----------------------------------------------------+----------
  1239. ##############6850 ACIA I/O Chips                                  ###########
  1240. -------+-----+-----------------------------------------------------+----------
  1241. $FFFC00|byte |Keyboard ACIA control             BIT 7 6 5 4 3 2 1 0|W
  1242.        |     |Rx Int enable (1 - enable) -----------' | | | | | | ||
  1243.        |     |Tx Interrupts                           | | | | | | ||
  1244.        |     |00 - RTS low, Tx int disable -----------+-+ | | | | ||
  1245.        |     |01 - RTS low, Tx int enable ------------+-+ | | | | ||
  1246.        |     |10 - RTS high, Tx int disable ----------+-+ | | | | ||
  1247.        |     |11 - RTS low, Tx int disable,           | | | | | | ||
  1248.        |     |     Tx a break onto data out ----------+-' | | | | ||
  1249.        |     |Settings                                    | | | | ||
  1250.        |     |000 - 7 bit, even, 2 stop bit --------------+-+-+ | ||
  1251.        |     |001 - 7 bit, odd, 2 stop bit ---------------+-+-+ | ||
  1252.        |     |010 - 7 bit, even, 1 stop bit --------------+-+-+ | ||
  1253.        |     |011 - 7 bit, odd, 1 stop bit ---------------+-+-+ | ||
  1254.        |     |100 - 8 bit, 2 stop bit --------------------+-+-+ | ||
  1255.        |     |101 - 8 bit, 1 stop bit --------------------+-+-+ | ||
  1256.        |     |110 - 8 bit, even, 1 stop bit --------------+-+-+ | ||
  1257.        |     |111 - 8 bit, odd, 1 stop bit ---------------+-+-' | ||
  1258.        |     |Clock divide                                      | ||
  1259.        |     |00 - Normal --------------------------------------+-+|
  1260.        |     |01 - Div by 16 -----------------------------------+-+|
  1261.        |     |10 - Div by 64 -----------------------------------+-+|
  1262.        |     |11 - Master reset --------------------------------+-'|
  1263. $FFFC00|byte |Keyboard ACIA control             BIT 7 6 5 4 3 2 1 0|R
  1264.        |     |Interrupt request --------------------' | | | | | | ||
  1265.        |     |Parity error ---------------------------' | | | | | ||
  1266.        |     |Rx overrun -------------------------------' | | | | ||
  1267.        |     |Framing error ------------------------------' | | | ||
  1268.        |     |CTS ------------------------------------------' | | ||
  1269.        |     |DCD --------------------------------------------' | ||
  1270.        |     |Tx data register empty ---------------------------' ||
  1271.        |     |Rx data register full ------------------------------'|
  1272. $FFFC02|byte |Keyboard ACIA data                                   |R/W
  1273. $FFFC04|byte |MIDI ACIA control                 BIT 7 6 5 4 3 2 1 0|W
  1274.        |     |Rx Int enable (1 - enable) -----------' | | | | | | ||
  1275.        |     |Tx Interrupts                           | | | | | | ||
  1276.        |     |00 - RTS low, Tx int disable -----------+-+ | | | | ||
  1277.        |     |01 - RTS low, Tx int enable ------------+-+ | | | | ||
  1278.        |     |10 - RTS high, Tx int disable ----------+-+ | | | | ||
  1279.        |     |11 - RTS low, Tx int disable,           | | | | | | ||
  1280.        |     |     Tx a break onto data out ----------+-' | | | | ||
  1281.        |     |Settings                                    | | | | ||
  1282.        |     |000 - 7 bit, even, 2 stop bit --------------+-+-+ | ||
  1283.        |     |001 - 7 bit, odd, 2 stop bit ---------------+-+-+ | ||
  1284.        |     |010 - 7 bit, even, 1 stop bit --------------+-+-+ | ||
  1285.        |     |011 - 7 bit, odd, 1 stop bit ---------------+-+-+ | ||
  1286.        |     |100 - 8 bit, 2 stop bit --------------------+-+-+ | ||
  1287.        |     |101 - 8 bit, 1 stop bit --------------------+-+-+ | ||
  1288.        |     |110 - 8 bit, even, 1 stop bit --------------+-+-+ | ||
  1289.        |     |111 - 8 bit, odd, 1 stop bit ---------------+-+-' | ||
  1290.        |     |Clock divide                                      | ||
  1291.        |     |00 - Normal --------------------------------------+-+|
  1292.        |     |01 - Div by 16 -----------------------------------+-+|
  1293.        |     |10 - Div by 64 -----------------------------------+-+|
  1294.        |     |11 - Master reset --------------------------------+-'|
  1295. $FFFC04|byte |MIDI ACIA control                 BIT 7 6 5 4 3 2 1 0|R
  1296.        |     |Interrupt request --------------------' | | | | | | ||
  1297.        |     |Parity error ---------------------------' | | | | | ||
  1298.        |     |Rx overrun -------------------------------' | | | | ||
  1299.        |     |Framing error ------------------------------' | | | ||
  1300.        |     |CTS ------------------------------------------' | | ||
  1301.        |     |DCD --------------------------------------------' | ||
  1302.        |     |Tx data register empty ---------------------------' ||
  1303.        |     |Rx data register full ------------------------------'|
  1304. $FFFC06|byte |MIDI ACIA data                                       |R/W
  1305. -------+-----+-----------------------------------------------------+----------
  1306. ##############Realtime Clock                                       ###########
  1307. -------+-----+-----------------------------------------------------+----------
  1308. $FFFC21|byte |S_Units                                              |???
  1309. $FFFC23|byte |S_Tens                                               |???
  1310. $FFFC25|byte |M_Units                                              |???
  1311. $FFFC27|byte |M_Tens                                               |???
  1312. $FFFC29|byte |H_Units                                              |???
  1313. $FFFC2B|byte |H_Tens                                               |???
  1314. $FFFC2D|byte |Weekday                                              |???
  1315. $FFFC2F|byte |Day_Units                                            |???
  1316. $FFFC31|byte |Day_Tens                                             |???
  1317. $FFFC33|byte |Mon_Units                                            |???
  1318. $FFFC35|byte |Mon_Tens                                             |???
  1319. $FFFC37|byte |Yr_Units                                             |???
  1320. $FFFC39|byte |Yr_Tens                                              |???
  1321. $FFFC3B|byte |Cl_Mod                                               |???
  1322. $FFFC3D|byte |Cl_Test                                              |???
  1323. $FFFC3F|byte |Cl_Reset                                             |???
  1324. -------+-----+-----------------------------------------------------+----------
  1325. ##############ROM                                                  ###########
  1326. -------+-----+-----------------------------------------------------+----------
  1327. $FA0000|     |                                                     |
  1328.     :  |     |128K ROM expansion cartridge port                    |R
  1329. $FBFFFF|     |                                                     |
  1330. -------+-----+-----------------------------------------------------+----------
  1331. $FC0000|     |                                                     |
  1332.     :  |     |192K System ROM                                      |R
  1333. $FEFFFF|     |                                                     |
  1334. -------+-----+-----------------------------------------------------+----------
  1335.  
  1336.                                Atari 32 bit Memory Map
  1337.  
  1338. Addresses           Description
  1339. -------------------+----------------------------------------------------------
  1340. $00000000-$00DFFFFF|ST RAM
  1341. $00E00000-$00EFFFFF|512k TOS ROMs
  1342. $00F00000-$00F9FFFF|Reserved I/O Space
  1343. $00FA0000-$00FBFFFF|128k ROM cartridge expansion port
  1344. $00FC0000-$00FEFFFF|192k System ROM
  1345. $00FF0000-$00FF7FFF|Reserved I/O Space
  1346. $00FF8000-$00FFFFFF|ST/TT I/O
  1347. $01000000-$013FFFFF|TT Fast Ram
  1348. $01400000-$FDFFFFFF|Reserved
  1349. $FE000000-$FEFFFFFF|VME A24/D16
  1350. $FEFF0000-$FEFFFFFF|VME A16/D16
  1351. $FF000000-$FFFFFFFF|ST 24 bit compatible shadow
  1352. $FFD000xx-$FFD000xx|Set FastRAM refresh rate and generate a bus error
  1353. -------------------+----------------------------------------------------------
  1354.  
  1355.                                    Cookie Jar
  1356.                             Atari "Official" Cookies
  1357. Cookie  Description
  1358. -------+----------------------------------------------------------------------
  1359. _CPU   | CPU Type                                          Bit 7 6 5 4 3 2 1 0
  1360.        | Processor type is represented in decimal in the lowest byte.
  1361.        | (0 - 68000, 40 - 68040)
  1362. -------+----------------------------------------------------------------------
  1363. _VDO   | Video Type                                                  BIT 17 16
  1364.        | Shifter Type                                                     |  |
  1365.        | 00 - ST ---------------------------------------------------------+--+
  1366.        | 01 - STe --------------------------------------------------------+--+
  1367.        | 10 - TT ---------------------------------------------------------+--+
  1368.        | 11 - Falcon030 --------------------------------------------------+--'
  1369. -------+----------------------------------------------------------------------
  1370. _FDC   | Floppy Drive Controller                              BIT 25 24 . 23-0
  1371.        | Floppy Format                                             |  |      |
  1372.        | 00 - DD (Normal floppy interface) ------------------------+--+      |
  1373.        | 01 - HD (1.44 MB with 3.5") ------------------------------+--+      |
  1374.        | 10 - ED (2.88 MB with 3.5") ------------------------------+--'      |
  1375.        | Controller ID                                                       |
  1376.        | 0 - No information available                                        |
  1377.        | 'ATC' - Fully compatible interface built in a way that -------------+
  1378.        |         behaves like part of the system.                            |
  1379.        | 'DP1' - "DreamPark Development", all ID's beginning with -----------'
  1380.        |         "DP" are reserved for Dreampark.
  1381. -------+----------------------------------------------------------------------
  1382. _FLK   | File Locking
  1383.        | If present, GEMDOS supports file locking. Value represents version
  1384.        | number of the expansion.
  1385. -------+----------------------------------------------------------------------
  1386. _NET   | Network Type
  1387.        | If present, there is GEMDOS network support. Points to 2 longs:
  1388.        | The first is the ID of the producer, and the second is the version
  1389.        | number.
  1390. -------+----------------------------------------------------------------------
  1391. _SLM   | SLM Driver
  1392.        | Diablo-driver for the SLM laser printer. Value points to a
  1393.        | non-documented structure.
  1394. -------+----------------------------------------------------------------------
  1395. _INF   | .INF Patch
  1396.        | When present, STEFIX (patch program for TOS 1.06) is active.
  1397. -------+----------------------------------------------------------------------
  1398. _SND   | Sound Hardware                                        BIT 5 4 3 2 1 0
  1399.        | CodeC (??) -----------------------------------------------' | | | | |
  1400.        | Connection Matrix ------------------------------------------' | | | |
  1401.        | DSP56001 -----------------------------------------------------' | | |
  1402.        | 16 Bit DMA Sound -----------------------------------------------' | |
  1403.        | 8 Bit DMA Sound --------------------------------------------------' |
  1404.        | YM2149 -------------------------------------------------------------'
  1405. -------+----------------------------------------------------------------------
  1406. _MCH   | Machine Type                                                BIT 17 16
  1407.        | 00 - ST/Mega ST -------------------------------------------------+--+
  1408.        | 01 - STe & Compatible Machines (See Below) ----------------------+--+
  1409.        | 10 - TT ---------------------------------------------------------+--+
  1410.        | 11 - Falcon030 --------------------------------------------------+--'
  1411.        | STe & Compatible Machines                             BIT 5 4 3 2 1 0
  1412.        | 00000 - STe ----------------------------------------------+-+-+-+-+-+
  1413.        | 00001 - ST Book ------------------------------------------+-+-+-+-+-+
  1414.        | 10000 - Mega STe -----------------------------------------+-+-+-+-+-'
  1415. -------+----------------------------------------------------------------------
  1416. _SWI   | Configuration Switches
  1417.        | State of configuration switches (MSTe/TT only)
  1418. -------+----------------------------------------------------------------------
  1419. _FRB   | Fast Ram Buffer
  1420.        | (TT specific) 64k buffer for ACSI DMA
  1421.        | 0 - no buffers assigned    Not 0 - address of FastRam buffer
  1422. -------+----------------------------------------------------------------------
  1423. _FPU   | FPU Type
  1424.        | Software FPU                                              BIT 3 2 1 0
  1425.        | 68040's internal FPU -----------------------------------------' | | |
  1426.        | 01 - 6888x present ---------------------------------------------+-+ |
  1427.        | 10 - 68881 for sure --------------------------------------------+-+ |
  1428.        | 11 - 68882 for sure --------------------------------------------+-' |
  1429.        | SFP004 present -----------------------------------------------------'
  1430.        | Hardware FPU                                            BIT 11 10 9 8
  1431.        | 68040's internal FPU ----------------------------------------'  | | |
  1432.        | 01 - 6888x present ---------------------------------------------+-+ |
  1433.        | 10 - 68881 for sure --------------------------------------------+-+ |
  1434.        | 11 - 68882 for sure --------------------------------------------+-' |
  1435.        | SFP004 present -----------------------------------------------------'
  1436. -------+----------------------------------------------------------------------
  1437. _OOL   | PoolFix
  1438.        | Value corresponds to PoolFix version
  1439. -------+----------------------------------------------------------------------
  1440. _AKP   | Keyboard/Language Configuration
  1441.        | Keyboard Configuration                                       Bit 15-8
  1442.        | 1 - German   5 - Italian -------------------------------------------+
  1443.        | 2 - French   7 - Swiss French --------------------------------------+
  1444.        | 4 - Spanish  8 - Swiss German --------------------------------------+
  1445.        | All others - English -----------------------------------------------'
  1446.        | Language Configuration                                        BIT 7-0
  1447.        | 1 - German   5 - Italian -------------------------------------------+
  1448.        | 2 - French   7 - Swiss French --------------------------------------+
  1449.        | 4 - Spanish  8 - Swiss German --------------------------------------+
  1450.        | All others - English -----------------------------------------------'
  1451. -------+----------------------------------------------------------------------
  1452. _IDT   | International Date/Time Format
  1453.        | Time Format                                                    BIT 12
  1454.        | 0 - AM/PM, 1 - 24 hours --------------------------------------------+
  1455.        | Date Format                                                   BIT 9 8
  1456.        | 00 - MMDDYY ------------------------------------------------------+-+
  1457.        | 01 - DDMMYY ------------------------------------------------------+-+
  1458.        | 10 - YYMMDD ------------------------------------------------------+-+
  1459.        | 11 - YYDDMM ------------------------------------------------------+-'
  1460.        | Separator for date                                            BIT 7-0
  1461.        | ASCII Value (i.e. "." or "/") --------------------------------------'
  1462. -------+----------------------------------------------------------------------
  1463. MiNT   | MiNT
  1464.        | Present if MiNT/MultiTOS is active. Value represents the version
  1465.        | number of the MiNT kernel in hex (0x104 = 1.04)
  1466. -------+----------------------------------------------------------------------
  1467.  
  1468.